<script setup lang="ts">
    import { useRoute } from "vue-router";

    //当前路由
    const route = useRoute();
    console.log(route)

    if( route.name){}
    //三秒后自动刷新
    // setTimeout(() => {
    //     window.location.reload();
    // }, 3000);
</script>

<template>
    <div class="index">404</div>
</template>

<style lang="scss" scoped>
    .index {
        height: 1000px;
    }
</style>